//
// Created by liushuai on 18-10-30.
//

#include "Worker.h"
Worker::Worker(string& n,int a,int w) {
    name = n;
    age = a;
    weage = w;
    cout<<"Worker的构造函数!"<<"\n";
}
Worker::~Worker() {
    cout<<"Worker的析构函数!"<<"\n";
}
void Worker::work() {
    cout<<"Worker的成员函数work!"<<"\n";
}